package debugServer;

import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JPanel;

import YAPserver.Lobby;
import YAPserver.logic.Game;

public class DebugPanel extends JPanel{

	JButton addLocalModButton = new JButton("add");
	JButton activateLocalModButton = new JButton("activate");
	
	DebugPanel(Lobby lobby){
		createGUI(lobby);
	}

	private void createGUI(Lobby lobby) {
		this.setLayout(new BorderLayout());
		this.add(new GlobalModPanel(lobby.getGame()), BorderLayout.CENTER);
		this.add(new LocalModPanel(lobby), BorderLayout.SOUTH);
		this.add(new MiscPanel(lobby), BorderLayout.NORTH);
	}

	
}
